package com.jdd.modules.userOptionLog.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jdd.modules.userOptionLog.entity.TUserOptionLog;
import com.jdd.modules.userOptionLog.mapper.TUserOptionLogMapper;
import com.jdd.modules.userOptionLog.service.ITUserOptionLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ls
 * @since 2022-10-25
 */
@Service
public class TUserOptionLogServiceImpl extends ServiceImpl<TUserOptionLogMapper, TUserOptionLog> implements ITUserOptionLogService {

    @Resource
    private TUserOptionLogMapper tUserOptionLogMapper;

    @Override
    public IPage<TUserOptionLog> findList(Page<TUserOptionLog> page, TUserOptionLog tUserOptionLog,List<String> projects) {
        IPage<TUserOptionLog> iPage =  tUserOptionLogMapper.findList(page,tUserOptionLog,projects);
        return iPage;
    }
}
